package com.pulse.base.service;

import com.pulse.base.domain.CircuitMeasureEvent;

import java.util.List;

/**
 * 曲线分析结果事件Service接口
 *
 * @author 陆帅
 * @date 2024-07-17
 */
public interface ICircuitMeasureEventService {
    /**
     * 新增
     * @param event
     * @return
     */
    int insertCircuitMeasureEvent(CircuitMeasureEvent event);

    /**
     * 根据曲线id获取事件
     * @param measureId
     * @return
     */
    List<CircuitMeasureEvent> selectCircuitMeasureEventByMeasureId(Long measureId);

    /**
     * 根据measureId删除
     * @param measureId
     * @return
     */
    int deleteByMeasureId(Long measureId);

    /**
     * 根据measureId列表删除
     * @param measureIds
     * @return
     */
    int deleteByMeasureIds(List<Long> measureIds);
}
